package com.huiyeji.xlsx;

import java.util.Collection;

public class Container {

    private final String name;

    private final Collection<String> collection;

    public Container(String name,Collection<String> initCollection) {
        this.name = name;
        this.collection = initCollection;
    }

    public boolean contains(String value) {
        return collection.contains(value);
    }

    public void add(String value) {
        collection.add(value);
    }

    public void remove(String value) {
        collection.remove(value);
    }

    public String getName() {
        return name;
    }
}
